package com.cirkana.viewer.location;

import android.location.Location;

public class MockLocation extends Location {

	private static final String locationProviderPassive = "passive";
	
	private double latitude = 0;
	private double longitude = 0;
	
	public MockLocation(double latitude, double longitude) {
		super(locationProviderPassive);
		this.setLatitude(latitude);
		this.setLongitude(longitude);
	}
	
	public MockLocation(Location l) {
		super(l);
	}
	
	public MockLocation(String provider) {
		super(provider);
	}
	
	@Override
	public double getLatitude() {
		return this.latitude;
	}
	
	@Override
	public double getLongitude() {
		return this.longitude;
	}
	
	@Override
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	
	@Override
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
}
